<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:69:"/var/www/fish/application/crm/view/servicecustomer/customerIndex.html";i:1516855831;}*/ ?>
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>小鱼ADMIN</title>
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />

    <link rel="stylesheet" href="/public/static/css/font.css">
	<link rel="stylesheet" href="/public/static/css/bgadmin.css">
    <script type="text/javascript" src="/public/static/js/jquery-1.8.0.min.js"></script>
    <script src="/public/static/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/public/static/js/jquery.form.js"></script>  
    <script type="text/javascript" src="/public/static/js/bgadmin.js"></script>
</head>
<style>
.layui-nav-item{ margin-right:10px; }
.left-nav{ background-color: #fff; border: 1px solid rgb(229, 229, 229); width: 160px; }
#nav li :hover { background: #009688; color: #fff; }
#nav li.title { color: #000; font-weight: bold; background-color: #f5f5f5; }
.layui-this:after{ height: 33px !important;  }
</style>
<body style="background-color: #fff; overflow: hidden;">
    <!-- 中部开始 -->
    <!-- 左侧菜单开始 -->
    <div class="left-nav" style="height: 100%; top:10px;padding: 0; left: 10px;">
      <div id="side-nav">
        <ul id="nav">
            <li class="title">
                <a href="javascript:;">
                    <i class="iconfont1"><?php echo $vo1['iconCls']; ?></i>
                    <cite>全部客户</cite>
                </a>
            </li>
            <li index='1'>
                <a href="./customerIndex?customer_type=first&index=1">
                    <i class="iconfont1"><?php echo $vo1['iconCls']; ?></i>
                    <cite>首单客户</cite>
                </a>
            </li>
            <li index='2'>
                <a href="./customerIndex?customer_type=second&index=2">
                    <i class="iconfont1"><?php echo $vo1['iconCls']; ?></i>
                    <cite>升级客户</cite>
                </a>
            </li>
            <li index='3'>
                <a href="./customerIndex?customer_type=vip&index=3">
                    <i class="iconfont1"><?php echo $vo1['iconCls']; ?></i>
                    <cite>会员客户</cite>
                </a>
            </li>
        </ul>
      </div>
    </div>
    <!-- <div class="x-slide_left"></div> -->
    <!-- 左侧菜单结束 -->
    <!-- 右侧主体开始 -->
    <div class="page-content" style="height: 100%; top:10px; padding: 0; left: 181px; border: 1px solid rgb(229, 229, 229);">
        <div class="layui-tab" style="margin: 0; background-color: #f5f5f5;">
          <ul class="layui-tab-title" style=" background-color: #f5f5f5;">
            <li class="layui-this" style="margin-top: 3px;height: 32px;line-height: 32px; ">全部客户</li>
            <li style="margin-top: 3px;height: 32px;line-height: 32px; ">今日新增</li>
            <li style="margin-top: 3px;height: 32px;line-height: 32px; ">本周新增</li>
            <li style="margin-top: 3px;height: 32px;line-height: 32px; ">30天未联系</li>
          </ul>
          <div class="layui-tab-content" style="overflow: hidden;">
            <div class="layui-tab-item layui-show">
                <iframe src='./customerList?customer_type=<?php echo $customer_type; ?>&customer_time=all' frameborder="0" scrolling="yes" class="bg-iframe"></iframe>
            </div>
            <div class="layui-tab-item">
                <iframe src='./customerList?customer_type=<?php echo $customer_type; ?>&customer_time=today' frameborder="0" scrolling="yes" class="bg-iframe"></iframe>
            </div>
            <div class="layui-tab-item">
                <iframe src='./customerList?customer_type=<?php echo $customer_type; ?>&customer_time=week' frameborder="0" scrolling="yes" class="bg-iframe"></iframe>
            </div>
            <div class="layui-tab-item">
                <iframe src='./customerList?customer_type=<?php echo $customer_type; ?>&customer_time=month' frameborder="0" scrolling="yes" class="bg-iframe"></iframe>
            </div>
          </div>
        </div>
    </div>

    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->
</body>

<script type="text/javascript" src="/public/static/crm/js/index/index.js"></script>

<script>
//注意：选项卡 依赖 element 模块，否则无法进行功能性操作
layui.use('element', function(){
    var element = layui.element;
});

$(function(){
    var index = '<?php echo $index; ?>';
    if (index == '') index = 1;
    $('#nav li[index='+index+']').css('background-color', '#009688');
    $('#nav li[index='+index+'] a').css('color','#fff');
})

</script>
</html>